<template>
	<div>
		<div class="Fl_list">
			<div class="Fl_listnow">
				<span>工作</span>
			</div>
			<div class="Fl_swiper">
				<swiper ref="mySwiper" :options="swiperOptions">
					<swiper-slide>教育</swiper-slide>
					<swiper-slide>房屋</swiper-slide>
					<swiper-slide>生活</swiper-slide>
					<swiper-slide>闲置</swiper-slide>
					<swiper-slide>装修</swiper-slide>
					<swiper-slide>车辆</swiper-slide>
					<swiper-slide>宠物</swiper-slide>
					<swiper-slide>宣传</swiper-slide>
					<swiper-slide>帮助</swiper-slide>
				</swiper>
			</div>
		</div>
	</div>
</template>
<script>

export default {
   data() {
    return  {
      swiperOptions: {
        loop: true,
        autoplay: {
          delay: 3000,
          stopOnLastSlide: false,
          disableOnInteraction: false,
        },
        slidesPerView: 4,//显示个数
        observeParents: true,
        observer: true
      },
    }
  },
}
</script>
<style scoped>
.Fl_list {
	height: 50px;
	width: 100%;
	display: flex;
	flex-direction: row;
}
.Fl_listnow {
	height: 50px;
	line-height: 50px;
	text-align: center;
	color: #ed414a;
	font-size: 14px;
	border-bottom: 1px solid #ed414a;
	width: 20%;
}
.Fl_swiper {
	width: 80%;
	overflow: hidden;
}
.swiper-container {
	width: 100%;
	height: 50px;
}
.swiper-slide {
	width: 100%;
	text-align: center;
	font-size: 14px;
	height: 50px;
	background: #fff;
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	-webkit-align-items: center;
	align-items: center;
}
</style>
